package com.example.compkeylab.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Cheng Guanghao
 * @since 2023-11-27
 */
@ApiModel(value = "Login对象", description = "")
public class Login implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商家id")
    private Integer userId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("密码")
    private String userPassword;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    @Override
    public String toString() {
        return "Login{" +
                "userId=" + userId +
                ", userName=" + userName +
                ", userPassword=" + userPassword +
                "}";
    }
}
